package cn.pfz.Service;

import cn.pfz.domain.Permission;
import cn.pfz.query.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IPermissionSerives {
    int deleteByPrimaryKey(Long id);

    int insert(Permission record);

    Permission selectByPrimaryKey(Long id);

    List<Permission> selectAll();

    int updateByPrimaryKey(Permission record);

    PageInfo<Permission> selectRusult(QueryObject qo);

    List<Permission> selectByEmployee(Long id);

    List<String> getPermissionExperssionByEmployeeId(Long id);

}
